﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace App.Domain.Model
{
    public class AddressMap : ICreatable, IReadable, IUpdatable, IDeletable
    {
        private AddressMap() { }
        public AddressMap(int ownerId, Address address, AddressType addressType)
        {
            OwnerID = ownerId;
            Address = address;
            AddressType = addressType;
        }

        public int OwnerID { get; set; }
        public Address Address { get; set; }
        public AddressType AddressType { get; set; }
    }
}